package com.example.buyticketlishi.wightview;

import android.content.Context;
import android.view.View;
import android.widget.Button;

import com.example.buyticketlishi.R;

public class TipCenterShow extends CenterDialogBase {

    private Context context;
    private Button left;
    private Button right;


    public TipCenterShow(Context context) {
        super(context);

        left.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                dismiss();
            }
        });

        right.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                dismiss();
            }
        });
    }

    @Override
    protected void onCreate() {
        setContentView(R.layout.wight_tip_show);

        left = findViewById(R.id.bt_tip_ok_left);
        right = findViewById(R.id.bt_tip_ok_right);
    }
}
